package cn.fzc.elasticsearch2x.entity;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

@Document(indexName = "my_spider")
public class Spider {


    /**
     * id : 8019
     * album_index : 106
     * url : http://img4.tuwandata.com/v3/thumb/jpg/ODI2ZiwwLDAsOSwzLDEsLTEsTk9ORSwsLDkw/u/GLDM9lMIBglnFv7YKftLBGJfvmN8XCtMS0hLVQDvTkHqnC5Di6EthoLCn0Hhj947cRWTiw7OheFjRjqXkSsaRzdXmTo9HJL7PEk37LhyF6ao.jpg
     * downloaded : 1
     * @timestamp : 2019-06-22T14:39:00.441Z
     * type : housetagtype
     * title : 萌妹自拍
     * @version : 1
     */

    @Id
    private int id;
    private int album_index;
    private String url;
    private int downloaded;
    private String type;
    private String title;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getAlbum_index() {
        return album_index;
    }

    public void setAlbum_index(int album_index) {
        this.album_index = album_index;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public int getDownloaded() {
        return downloaded;
    }

    public void setDownloaded(int downloaded) {
        this.downloaded = downloaded;
    }


    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

}
